package com.projectName.www.dao;

import com.projectName.www.po.Dish;

import java.util.List;

public interface DishDao {
    public abstract void insert(Dish dish);

    List<Dish> findall();

    Dish findByID(String did);

    //删除
    void delete(String did);

    //根据商家id来找菜品
    public List<Dish> findBySlr(String uID);

    public List<Dish> selectByType(String typename);

    //搜索菜品名称,支持模糊搜索
    public List<Dish> findDishByName(String dishName);


    void update(Dish dish);
}
